package joyson.email.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @Author ke
 * @Date 2024/5/18 13:06
 */
@Data
@Component
public class EmailProperties {

    @Value("${email.host}")
    private String host;
    @Value("${email.port}")
    private String port;
    @Value("${email.protocol}")
    private String protocol;
    @Value("${email.auth}")
    private String auth;
    @Value("${email.mail}")
    private String mail;
    @Value("${email.authCode}")
    private String authCode;
    @Value("${email.subType}")
    private String subType;
    @Value("${email.path}")
    private String path;
}
